package com.shove.config;

import com.allinpay.xmltrans.pojo.TranxCon;

public class AllinpayConfig {
	//将获取WEB-INF/class的路径替换成WEB-INF/config
	private static String templatePath = TranxCon.class.getClassLoader().getResource("/").getPath().replace("classes", "config");

	//商户证书信息

	public static String alllin_version = "03";// 提现版本号
	public static String alllin_level = "5";//处理级别
	public static String alllin_businessCode = "";//业务代码
	public static String alllin_url=""; //测试交易发送地址
	public static String alllin_trxCode = "";// 交易代码
	public static String allinpay_version= "v1.0";//充值版本号
	public static String alllin_language = "1";// 1 代表中文显示
	public static String alllin_signType = "1";// 签名类型,1 代表证书签名验签方式
	public static String alllin_merchantId = "";                 //商户号：200604000005072
	public static String alllin_userName = "";	//用户名
	public static String alllin_userPass = "";	//用户密码
	public static String alllin_pfxPassword = "";		//商户私钥证书密码
	public static String alllin_p12= "";	//商户私钥证书
	public static String alllin_cer= "";		//公钥验签证书
	public static String alllin_gate_way = "";

	static {
		com.shove.io.file.PropertyFile pf = new com.shove.io.file.PropertyFile();
		alllin_merchantId = pf.read("alllin_merchantId");
		alllin_userName=pf.read("alllin_userName");
		alllin_userPass=pf.read("alllin_userPass");
		alllin_pfxPassword= pf.read("alllin_pfxPassword");
		alllin_p12= pf.read("alllin_p12");
		alllin_cer= pf.read("alllin_cer");
		alllin_gate_way = pf.read("alllin_gate_way");

		allinpay_version= pf.read("allinpay_version");
		alllin_version = pf.read("alllin_version");
		alllin_level = pf.read("alllin_level");
		alllin_businessCode=pf.read("alllin_businessCode");
		alllin_url= pf.read("alllin_url");
		alllin_trxCode= pf.read("alllin_trxCode");
		alllin_language = pf.read("alllin_language");
		alllin_signType = pf.read("alllin_signType");
		alllin_gate_way = pf.read("alllin_gate_way");
	}

/*	public String getAcctName() {
		return acctName;
	}
	public String getAcctNo() {
		return acctNo;
	}
	public String getAmount() {
		return amount;
	}
	public String getBankcode() {
		return bankcode;
	}
	public String getCerPath() {
		return cerPath;
	}
	public String getMerchantId() {
		return merchantId;
	}
	public String getPassword() {
		return password;
	}
	public String getPfxPassword() {
		return pfxPassword;
	}
	public String getPfxPath() {
		return pfxPath;
	}
	public String getSum() {
		return sum;
	}
	public String getTel() {
		return tel;
	}
	public String getTltcerPath() {
		return tltcerPath;
	}
	public String getUserName() {
		return userName;
	}
	public void setAcctName(String acctName) {
		this.acctName = acctName;
	}
	public void setAcctNo(String acctNo) {
		this.acctNo = acctNo;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public void setBankcode(String bankcode) {
		this.bankcode = bankcode;
	}
	public void setCerPath(String cerPath) {
		this.cerPath = cerPath;
	}
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void setPfxPassword(String pfxPassword) {
		this.pfxPassword = pfxPassword;
	}
	public void setPfxPath(String pfxPath) {
		this.pfxPath = pfxPath;
	}
	public void setSum(String sum) {
		this.sum = sum;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public void setTltcerPath(String tltcerPath) {
		this.tltcerPath = tltcerPath;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}*/
}
